/*
 * 创建PhoneClass类：
 *   1. 引包(注意：类在调用类和类在同一个目录下，不需要引包)
 *   2. 实例化
 * */
package basics.day06.first;

public class NewPhone {
    public static void main(String[] args) {
        PhoneClass p1 = new PhoneClass();
        p1.color = "土豪金";
        p1.brand = "iPhone XS Max";
        p1.size = 5.5;

        PhoneClass p2 = new PhoneClass();
        p2.color = "银白色";
        p2.brand = "iPhone X";
        p2.size = 5.0;

        System.out.println(p1.brand + "  " + p1.color + "  " + p1.size);
        System.out.println(p2.brand + "  " + p2.color + "  " + p2.size);
    }
}